package com.ustcinfo.ishare.kafka.monitor.bean;

import java.util.List;

/**
 * Created by Shinelon on 2018/3/20.
 * kafka 监控的属性
 */
public class KafkaMonitorInfo {
    private String topic;
    private String partitions;
    private String groupName;
    private String groupJaasConf;
    private Long logSize;
    private Long logSizeIncrement;
    private Long offset;
    private Long offsetIncrement;
    private Long commitTime;
    private String replicas;

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public String getPartitions() {
        return partitions;
    }

    public void setPartitions(String partitions) {
        this.partitions = partitions;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getGroupJaasConf() {
        return groupJaasConf;
    }

    public void setGroupJaasConf(String groupJaasConf) {
        this.groupJaasConf = groupJaasConf;
    }

    public Long getLogSize() {
        return logSize;
    }

    public void setLogSize(Long logSize) {
        this.logSize = logSize;
    }

    public Long getLogSizeIncrement() {
        return logSizeIncrement;
    }

    public void setLogSizeIncrement(Long logSizeIncrement) {
        this.logSizeIncrement = logSizeIncrement;
    }

    public Long getOffset() {
        return offset;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffsetIncrement() {
        return offsetIncrement;
    }

    public void setOffsetIncrement(Long offsetIncrement) {
        this.offsetIncrement = offsetIncrement;
    }

    public Long getCommitTime() {
        return commitTime;
    }

    public void setCommitTime(Long commitTime) {
        this.commitTime = commitTime;
    }

    public String getReplicas() {
        return replicas;
    }

    public void setReplicas(String replicas) {
        this.replicas = replicas;
    }

    @Override
    public String toString() {
        return "KafkaMonitorInfo{" +
                "topic='" + topic + '\'' +
                ", partitions='" + partitions + '\'' +
                ", groupName='" + groupName + '\'' +
                ", groupJaasConf='" + groupJaasConf + '\'' +
                ", logSize=" + logSize +
                ", logSizeIncrement=" + logSizeIncrement +
                ", offset=" + offset +
                ", offsetIncrement=" + offsetIncrement +
                ", commitTime=" + commitTime +
                ", replicas=" + replicas +
                '}';
    }
}
